﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using MTGenome.MTG;

namespace MTGenome.Gatherer
{
    [Table(Name = "Expansions"), Export(typeof(IExpansion)), PartCreationPolicy(CreationPolicy.NonShared)]
    public sealed class Expansion : IExpansion
    {
        [Column(IsPrimaryKey = true, CanBeNull = false, DbType = "nvarchar(3)")]
        public string ID
        {
            get;
            set;
        }

        [Column(CanBeNull = false, DbType = "nvarchar(50)")]
        public string Name
        {
            get;
            set;
        }
    }
}
